from core.basehandler import BaseHandler
from core.room import Room
from core.support import set_cutscene
from core.action import Action

class LookDown3(Room):
    def __init__(self, room_id):
        Room.__init__(self, room_id)
        
        # self.treasure_locked = True
        # self.add_item(Keys())
        self.add_action(StepBackFromLedge3)
    
    def get_description(self):
        desc = '''
        You look down at the second and first floors of SMG.
        The undergrad zombies below still groan like wombats during mating season.
        Lucky for you, they are too dumb to climb the stairs.      
        '''
        return desc
    
    def get_image(self):
        return 'Lookdown3rd.jpg'

class LookDown3Handler(BaseHandler):
    def get_room_class(self):
        return LookDown3

class StepBackFromLedge3(Action):
    def __init__(self):
        Action.__init__(self, "StepBackFromLedge3")
    
    def get_description(self):
        return "Step back from the Ledge"
    
    def get_destination(self):
        return "thirdfloorhallway"
    
    def get_method(self):
        return "get"